<?php
$headers = getallheaders ();
foreach ( $headers as $name => $content ) {
	echo "headers[$name] = $content<br>\n";
}
?> 